<?php

class Mongo_Validation_Exception extends Agi_Exception
{

    /**
     * @var  string  Name of model
     */
    public $model;

    /**
     * @var  int  Sequence number of model (if applicable)
     */
    public $seq;

    public function __construct($model, $array, $message = 'Failed to validate array', array $values = NULL, $code = 0)
    {
        $this -> model = $model;

        parent::__construct($array, $message, $values, $code);
    }

} // End Mongo_Validation_Exception
